package com.tbit.uqbike.service.business;

import com.tbit.uqbike.object.pojo.ParkPointBound;
import com.tbit.uqbike.object.pojo.ParkPointBoundAbnormal;

import java.util.List;
import java.util.Map;

/**
 * @author HZW
 * @ClassName EquipmentMaintainService
 * @Description
 * @date 2021/12/16 9:54
 * @Version 1.0
 */
public interface EquipmentMaintainService {
    /**
     * 获取设备异常总数
     */
    Map<String, Object> selectAbnormalTotal(ParkPointBoundAbnormal parkPointBoundAbnormal);

    /**
     * 获取站点设备的详情信息
     */
    List<ParkPointBound> getInfo(ParkPointBound parkPointBound);

    /**
     * 获取异常设备的总数据
     */
    List<ParkPointBoundAbnormal> getAbnormalInfo(ParkPointBoundAbnormal parkPointBoundAbnormal);

    /**
     * 格式化数据
     * @param abnormalInfo List<ParkPointBoundAbnormal>
     * @return List<ParkPointBoundAbnormal>
     */
    List<ParkPointBoundAbnormal> dataFormat(List<ParkPointBoundAbnormal> abnormalInfo);
}
